package com.edu.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("course_type")
public class CourseType {

  @TableId(type = IdType.AUTO)
  private long id;
  private String typeName;


  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getTypeName() {
    return typeName;
  }

  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }

  @Override
  public String toString() {
    return "CourseType{" +
            "id=" + id +
            ", typeName='" + typeName + '\'' +
            '}';
  }
}
